import React from 'react';
import { Row, Col} from 'antd'; 
import Header  from './components/Header';
import Footer  from './components/Footer';
import './style/common.less'
export default class Common extends React.Component{
    render() {
        return(
           <div>
                <Row className="simple-page ">
                  <Header menuType='second'/> 
            </Row>
            <Row className="content">
                {/* common作为一个承载体所有的详情页面都在里面 */}
                {this.props.children}
            </Row>
               <Row>
              <Footer />
            </Row>
           </div>
        )
    }
}